<?php /*a:2:{s:73:"D:\phpstudy_pro\WWW\sact\application\admin\view\userinformation\info.html";i:1622702264;s:70:"D:\phpstudy_pro\WWW\sact\application\admin\view\common\\pagestyle.html";i:1621849985;}*/ ?>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>add</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
</head>
<body>

<style>
    pre,blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    tr,img {
        page-break-inside: avoid;
    }
    h2,h3 {
        page-break-after: avoid;
    }
    .page-header {
        padding-bottom: 9px;
        margin: 40px 0 20px;
        border-bottom: 1px solid #eee;
    }
    .pager {
        padding-left: 0;
        margin: 20px 0;
        text-align: center;
        list-style: none;
    }
    .pager li {
        display: inline;
    }
    .pager li > a,
    .pager li > span {
        display: inline-block;
        padding: 5px 14px;
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 15px;
    }
    .pager li > a:hover,
    .pager li > a:focus {
        text-decoration: none;
        background-color: #eee;
    }
    .pager .next > a,
    .pager .next > span {
        float: right;
    }
    .pager .previous > a,
    .pager .previous > span {
        float: left;
    }
    .pager .disabled > a,
    .pager .disabled > a:hover,
    .pager .disabled > a:focus,
    .pager .disabled > span {
        color: #777;
        cursor: not-allowed;
        background-color: #fff;
    }
    .pager:before,
    .pager:after,
    .pager:after,
    .pagination {
        display: inline-block;
        padding-left: 0;
        margin: 20px 0;
        border-radius: 4px;
    }
    .pagination > li {
        display: inline;
    }
    .pagination > li > a,
    .pagination > li > span {
        position: relative;
        float: left;
        padding: 6px 12px;
        margin-left: -1px;
        line-height: 1.42857143;
        color: #337ab7;
        text-decoration: none;
        background-color: #fff;
        border: 1px solid #ddd;
    }
    .pagination > li:first-child > a,
    .pagination > li:first-child > span {
        margin-left: 0;
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }
    .pagination > li:last-child > a,
    .pagination > li:last-child > span {
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }
    .pagination > li > a:hover,
    .pagination > li > span:hover,
    .pagination > li > a:focus,
    .pagination > li > span:focus {
        color: #23527c;
        background-color: #eee;
        border-color: #ddd;
    }
    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 2;
        color: #fff;
        cursor: default;
        background-color: cadetblue;
        border-color: cadetblue;
    }
    .pagination > .disabled > span,
    .pagination > .disabled > span:hover,
    .pagination > .disabled > span:focus,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #777;
        cursor: not-allowed;
        background-color: #fff;
        border-color: #ddd;
    }
    .pagination-lg > li > a,
    .pagination-lg > li > span {
        padding: 10px 16px;
        font-size: 18px;
    }
    .pagination-lg > li:first-child > a,
    .pagination-lg > li:first-child > span {
        border-top-left-radius: 6px;
        border-bottom-left-radius: 6px;
    }
    .pagination-lg > li:last-child > a,
    .pagination-lg > li:last-child > span {
        border-top-right-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    .pagination-sm > li > a,
    .pagination-sm > li > span {
        padding: 5px 10px;
        font-size: 12px;
    }
    .pagination-sm > li:first-child > a,
    .pagination-sm > li:first-child > span {
        border-top-left-radius: 3px;
        border-bottom-left-radius: 3px;
    }
    .pagination-sm > li:last-child > a,
    .pagination-sm > li:last-child > span {
        border-top-right-radius: 3px;
        border-bottom-right-radius: 3px;
    }
</style>
<div class="layui-col-sm12">
  <div class="layui-card">

    <div class="layui-card-header" style="height: 39px">该用户所有信息</div>
    <div class="layui-card-body">
      <table class="layui-table layuiadmin-page-table" lay-skin="line">
        <thead>
        <tr>
          <th>用户名</th>
          <th style="text-align: center;">性别</th>
          <th style="text-align: center;">摘要</th>
          <th style="text-align: center;">金额</th>
          <th style="text-align: center;">时间</th>
          <th style="text-align: center;">电子发票</th>
          <th style="text-align: center;">报销单</th>
        </tr>
        </thead>
        <tbody>
        <?php if(is_array($res) || $res instanceof \think\Collection || $res instanceof \think\Paginator): $i = 0; $__LIST__ = $res;if( count($__LIST__)==0 ) : echo "$empty" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
            <tr>
              <td><span style="color: deeppink"><?php echo htmlentities($v['name']); ?></span></td>
              <td style="text-align: center;"><span><?php echo $v['sex']==1 ? '男' : '女'; ?></span></td>
              <td style="text-align: center;"><span><?php echo htmlentities($v['content']); ?></span></td>
              <td style="text-align: center;"><span>￥<?php echo htmlentities($v['money']); ?></span></td>
              <td style="text-align: center;"><span><?php echo htmlentities($v['create_time']); ?></span></td>
              <td style="text-align: center;">
                <?php if($v['electronic_invoice'] != ''): $str = 'http://'; ?>
                  <img src="<?php echo htmlentities($str.$_SERVER['HTTP_HOST'].$v['electronic_invoice']); ?>">
                <?php else: ?>
                  暂无图片
                <?php endif; ?>
              </td>
              <td style="text-align: center;">
                <?php if($v['reimbursement'] != ''): ?>
                  <img src="<?php echo htmlentities($v['reimbursement']); ?>">
                <?php else: ?>
                  暂无图片
                <?php endif; ?>
              </td>
            </tr>
        <?php endforeach; endif; else: echo "$empty" ;endif; ?>
        </tbody>
      </table>
      <div class="page" style="margin:10px"><?php echo $res; ?></div>
    </div>
  </div>
</div>




  <script src="../../../layuiadmin/layui/layui.js"></script>
  <script src="http://libs.baidu.com/jquery/2.1.4/jquery.min.js"></script>
  <script>
    layui.use(['form', 'layer', 'upload'], function () {
      $ = layui.jquery;
      form = layui.form;
      upload = layui.upload;
      layer = layui.layer;

    })

  </script>
</body>
</html>